package com.wang.jmonkey.modules.region.model.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.wang.jmonkey.common.model.BaseEntity;

import com.baomidou.mybatisplus.annotations.Version;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 登记附属_物品表
 * </p>
 *
 * @author tianchao
 * @since 2020-04-27
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class RegionInOutGoods extends BaseEntity<RegionInOutGoods> {

    private static final long serialVersionUID = 1L;

    /**
     * 物品id
     */
    private String id;
    /**
     * 物品名称
     */
    private String name;
    /**
     * 数量
     */
    private Integer num;
    /**
     * 特征
     */
    private String describe;
    /**
     * 出入登记id
     */
    private String regionInOutId;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}
